#pragma
#ifndef _APPLE_H
#define _APPLE_H 1
#include<iostream>
namespace mclass{
    class apple{
        private:
            int num;
        public:
          apple(int  a){
            num = a;
          };
          int getnum(){

            return (this->num);
          };
         apple operator ++();
         apple operator ++(int);
    };
    apple apple::operator ++(){
        this->num++;
        return apple(num);
    };
    apple  apple::operator ++(int){
        apple ap(num);
        ++(num);
        return ap;
    }; 
  
};

#endif